package arithmetic1.tiantisai;

import java.util.Scanner;

public class Demo04 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int f=scanner.nextInt();
        int c=5*(f-32)/9;
        System.out.println("Celsius = "+c);
    }
}
